/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "设备信息",TableName = "deviceinfo")]
    public partial class deviceinfo:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="主键")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///设备编号
       /// </summary>
       [Display(Name ="设备编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string deviceNo { get; set; }

       /// <summary>
       ///是否在线
       /// </summary>
       [Display(Name ="是否在线")]
       [Column(TypeName="sbyte")]
       [Editable(true)]
       public sbyte? online { get; set; }

       /// <summary>
       ///软件状态
       /// </summary>
       [Display(Name ="软件状态")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string softStatus { get; set; }

       /// <summary>
       ///目标1距离
       /// </summary>
       [Display(Name ="目标1距离")]
       [Column(TypeName="int")]
       public int? targetDistance1 { get; set; }

       /// <summary>
       ///目标1SNR
       /// </summary>
       [Display(Name ="目标1SNR")]
       [Column(TypeName="decimal")]
       public decimal? targetSnr1 { get; set; }

       /// <summary>
       ///目标2距离
       /// </summary>
       [Display(Name ="目标2距离")]
       [Column(TypeName="int")]
       public int? targetDistance2 { get; set; }

       /// <summary>
       ///目标2SNR
       /// </summary>
       [Display(Name ="目标2SNR")]
       [Column(TypeName="decimal")]
       public decimal? targetSnr2 { get; set; }

       /// <summary>
       ///目标3距离
       /// </summary>
       [Display(Name ="目标3距离")]
       [Column(TypeName="int")]
       public int? targetDistance3 { get; set; }

       /// <summary>
       ///目标3SNR
       /// </summary>
       [Display(Name ="目标3SNR")]
       [Column(TypeName="decimal")]
       public decimal? targetSnr3 { get; set; }

       /// <summary>
       ///Sin卡号
       /// </summary>
       [Display(Name ="Sin卡号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string sinNo { get; set; }

       /// <summary>
       ///经度
       /// </summary>
       [Display(Name ="经度")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string longitude { get; set; }

       /// <summary>
       ///维度
       /// </summary>
       [Display(Name ="维度")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string latitude { get; set; }

       /// <summary>
       ///运行时长(分钟)
       /// </summary>
       [Display(Name ="运行时长(分钟)")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? runtime { get; set; }

       /// <summary>
       ///LTE信号强度
       /// </summary>
       [Display(Name ="LTE信号强度")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public decimal signal { get; set; }

       /// <summary>
       ///电压(V)
       /// </summary>
       [Display(Name ="电压(V)")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? voltage { get; set; }

       /// <summary>
       ///搭载雷达个数
       /// </summary>
       [Display(Name ="搭载雷达个数")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? redarNum { get; set; }

       /// <summary>
       ///添加人Id
       /// </summary>
       [Display(Name ="添加人Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CreateID { get; set; }

       /// <summary>
       ///添加人
       /// </summary>
       [Display(Name ="添加人")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///添加时间
       /// </summary>
       [Display(Name ="添加时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///更新时间
       /// </summary>
       [Display(Name ="更新时间")]
       [Column(TypeName="datetime")]
       public DateTime? updateTime { get; set; }

       
    }
}